Skip to content

docs: mark make_dt_interval and make_ym_interval as supported - #4790

Merged
andygrove merged 1 commit into
apache:mainfrom
andygrove:docs-interval-constructors-supported
Jul 3, 2026
Merged

docs: mark make_dt_interval and make_ym_interval as supported#4790
andygrove merged 1 commit into
apache:mainfrom
andygrove:docs-interval-constructors-supported

Conversation

@andygrove

Copy link
Copy Markdown
Member

Which issue does this PR close?

Follow-up to #4541 (part of #4540).

Rationale for this change

#4541 added support for Spark's YearMonthIntervalType and DayTimeIntervalType and enabled the make_ym_interval and make_dt_interval constructors via codegen dispatch. The expression support list in expressions.md still marked both as planned (🔜), so it no longer reflects reality.

What changes are included in this PR?

Update docs/source/user-guide/latest/expressions.md to mark make_dt_interval and make_ym_interval as supported (✅) and drop the now-obsolete tracking-issue notes.

How are these changes tested?

Documentation-only change. The behavior is covered by the SQL file tests added in #4541 (make_ym_interval.sql and make_dt_interval.sql).

PR apache#4541 enabled the YearMonthIntervalType and DayTimeIntervalType
constructors via codegen dispatch. Update the expression support list to
reflect that make_dt_interval and make_ym_interval are now supported.

@mbutrovich mbutrovich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andygrove!

@andygrove andygrove added this to the 1.0.0 milestone Jul 3, 2026
@andygrove
andygrove merged commit 9ebecf5 into apache:main Jul 3, 2026
16 checks passed
@andygrove
andygrove deleted the docs-interval-constructors-supported branch July 3, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants